package com.gxa.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.order.pojo.hotel.Tenant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;

@Repository
public interface TenantMapper extends BaseMapper<Tenant> {
    int delTenant(Integer hotelOrderId);
    List<Tenant> queryTenant(@Param("hotelOrderId") Integer hotelOrderId, @Param("intoDate") LocalDate intoDate, @Param("tenantInfo") String tenantInfo);
}
